Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-machine-id

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-machine-id

Unique machine (desktop) id (no admin privileges required).

  • 1.1.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is node-machine-id?

The node-machine-id npm package provides a simple way to uniquely identify a machine. It generates a machine-specific ID that can be used for licensing, authentication, or any other scenario where a unique machine fingerprint is required.

What are node-machine-id's main functionalities?

Synchronous ID retrieval

This feature allows you to synchronously retrieve a unique machine ID.

const { machineIdSync } = require('node-machine-id');
let id = machineIdSync();
console.log(id);

Asynchronous ID retrieval

This feature allows you to asynchronously retrieve a unique machine ID.

const { machineId } = require('node-machine-id');
machineId().then(id => {
  console.log(id);
});

Original value retrieval

This feature allows you to retrieve the original machine ID value without any hashing, providing the raw hardware ID.

const { machineIdSync } = require('node-machine-id');
let originalValue = machineIdSync({original: true});
console.log(originalValue);

Other packages similar to node-machine-id

Keywords

FAQs

Package last updated on 29 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc